-- GENERATED SPELL FOR [Murloc Forager] --


function spell0_46(pUnit, Event) --@Drink Minor Potion,Self--
pUnit:FullCastSpellOnTarget(3368,pUnit)
pUnit:RegisterEvent('Sorts_46', 3000, 1)
end

function Sorts_46(pUnit, Event)
local choix_sorts_46 = math.random(0, 0)
if choix_sorts_46 == 0 then
pUnit:RegisterEvent('spell0_46', 1, 1)
end
end

function mob46_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_46', math.random(1500, 3000), 1)
end

function mob46_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob46_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob46_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(46, 1, 'mob46_Action')
RegisterUnitEvent(46, 2, 'mob46_Leave')
RegisterUnitEvent(46, 3, 'mob46_Kill')
RegisterUnitEvent(46, 4, 'mob46_Die')
